package com.mxp.dao;

import com.mxp.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface UserDao {

    /**
     * 查寻
     * @return
     */
    List<User> listUser(User user);

    /**
     * 插入
     * @return
     */
    int insertUser(User user);
}
